package com.sghd.pojo.candy.shop.vo;

import com.sghd.pojo.candy.shop.enums.ConsumeType;
import com.sghd.pojo.candy.shop.enums.ShopModule;

import java.util.Map;

/**
 * @author Allen
 * @date 2019/01/09
 */
public class ShopVo {
    private String shopId;
//    private ShopModule shopModule;
//    private Integer consume;
//    private ConsumeType consumeType;
//    private Map<String, Object> obtain;
    private Boolean isCanBuy;
    public static ShopVo valueOf(String shopId) {
        ShopVo shopVo = new ShopVo();
        shopVo.setShopId(shopId);
        shopVo.setCanBuy(true);
        return shopVo;
    }

    /*public static ShopVo valueOf(String shopId, ShopModule shopModule, Integer consume, ConsumeType consumeType,
                                 Map<String, Object> obtain) {
        ShopVo shopVo = new ShopVo();
        shopVo.setShopId(shopId);
        shopVo.setShopModule(shopModule);
        shopVo.setConsume(consume);
        shopVo.setConsumeType(consumeType);
        shopVo.setObtain(obtain);
        shopVo.setCanBuy(true);
        return shopVo;
    }*/

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

/*    public ShopModule getShopModule() {
        return shopModule;
    }

    public void setShopModule(ShopModule shopModule) {
        this.shopModule = shopModule;
    }

    public Integer getConsume() {
        return consume;
    }

    public void setConsume(Integer consume) {
        this.consume = consume;
    }

    public ConsumeType getConsumeType() {
        return consumeType;
    }

    public void setConsumeType(ConsumeType consumeType) {
        this.consumeType = consumeType;
    }

    public Map<String, Object> getObtain() {
        return obtain;
    }

    public void setObtain(Map<String, Object> obtain) {
        this.obtain = obtain;
    }*/

    public Boolean getCanBuy() {
        return isCanBuy;
    }

    public void setCanBuy(Boolean canBuy) {
        isCanBuy = canBuy;
    }
}
